package com.hdu.dwh.mapper.cube_mapper;

import java.util.Set;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hdu.dwh.pojos.cube_pojos.Cube;
import com.hdu.dwh.pojos.cube_pojos.CuboidDimension;
import com.hdu.dwh.pojos.cube_pojos.CubeMetric;

public interface CubeMapper extends BaseMapper<Cube> {
    public CubeMetric saveMetric(CubeMetric metric);

    public void saveCubeDimensions(Set<CuboidDimension> dimensions);

    public void saveMetrics(Set<CubeMetric> metrics);
}
